let() returns the result of evaluating the lambda expression. So, you can use this as an initializer, or pass the return value from let() to some other function, such as to println().

You can learn more about this in:
Run Expand Edit